//
//  main.c
//  lilTerm
//
//  Created by Threese on 2019/7/21.
//  Copyright © 2019 Threese. All rights reserved.
//

#include "ctrl.h"

int main( ){
    initial();
    instruction();
    int command = -1;
    
    while (command != 0) {
        scanf("%d",&command);
        
        switch (command) {
            case 1:
                seeTime();
                break;
            case 2:
                seeTask();
                break;
            case 3:
                checkPlan();
                break;
            case 4:
                ctrlOpen();
                break;
            case 5:
                ctrlSave();
                break;
            case 6:
                instruction();
                break;
            default:
                break;
        }
    }
    
    printf("*** program end successfully ***\n");
}
